<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			body{
				margin: 0;
				display: flex;
				justify-content: center;
				align-items: center;
				height: 100vh;
				background: #222;
			}
			.box{
				width: 600px;
				height: 380px;
				border: 10px solid #999;
				overflow: hidden;
				border-radius: 20px;
				position: relative;
			}
			img{
				width: 600px;
				height: 380px;
			}
			.inner{
				width: 3000px;
				font-size: 0;
				position: absolute;
				left: 0px;
				animation: move 6s linear infinite;
			}
			@keyframes move{
				0%,10%,100%{
					left: 0;
				}
				
				20%,30%{
					left: -600px;
				}

				40%,50%{
					left: -1200px;
				}
				
				60%,70%{
					left: -1800px;
				}

				80%,90%,100%{
					left: -2400px;
				}
			}
		</style>
	</head>
	<body>
		<div class="box">
			<div class="inner">
				<img src="./images/bg1.jpg" alt="">
				<img src="./images/bg2.jpg" alt="">
				<img src="./images/bg3.jpg" alt="">
				<img src="./images/bg4.jpg" alt="">
				<img src="./images/bg1.jpg" alt="">
			</div>
		</div>
	</body>
</html>
